package com.alex.statistics.pojo.result.explorationAnalysis;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@AllArgsConstructor
@Data
@Schema(description = "DBSCAN异常检测结果")
public class DBSCANResult {
    @Schema(description = "异常点(噪声点)索引", example = "[3]")
    private List<Integer> anomalyIndices;

    @Schema(description = "每个点到最近簇的距离(异常分数)",
            example = "[0.5, 0.3, 0.4, 15.6]")
    private List<Double> anomalyScores;

    @Schema(description = "发现的簇数量", example = "1")
    private Integer clusterCount;

    @Schema(description = "噪声点数量", example = "1")
    private Integer noiseCount;
}